package com.ruoyi.service.impl;

import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;

import com.ruoyi.mapper.TPlayerIntroduceMapper;
import com.ruoyi.entity.po.TPlayerIntroduce;
import com.ruoyi.service.TPlayerIntroduceService;

import java.util.List;

/**
 * @author chenhainan
 * @since 2024-12-09 20:38
 */
@Service
public class PlayerIntroduceServiceImpl implements TPlayerIntroduceService{

    @Autowired
    private TPlayerIntroduceMapper tPlayerIntroduceMapper;

    @Override
    public List<TPlayerIntroduce> selectPlayerIntroduceList(TPlayerIntroduce playerIntroduce) {
        return tPlayerIntroduceMapper.selectPlayerIntroduceList(playerIntroduce);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tPlayerIntroduceMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TPlayerIntroduce record) {
        return tPlayerIntroduceMapper.insert(record);
    }

    @Override
    public int insertSelective(TPlayerIntroduce record) {
        return tPlayerIntroduceMapper.insertSelective(record);
    }

    @Override
    public TPlayerIntroduce selectByPrimaryKey(Integer id) {
        return tPlayerIntroduceMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TPlayerIntroduce record) {
        return tPlayerIntroduceMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TPlayerIntroduce record) {
        return tPlayerIntroduceMapper.updateByPrimaryKey(record);
    }

    @Override
    public int deleteByPrimaryKeys(Integer[] ids) {
        return tPlayerIntroduceMapper.deletePlayerIntroduceByIds(ids);
    }

    @Override
    public TPlayerIntroduce selectByPlayerId(Integer playerId) {
        return tPlayerIntroduceMapper.selectByPlayerId(playerId);
    }
}
